import Mock from 'mockjs'

const db = Mock.mock({
  "yybList|200": [
    { value: '@string("number", 10)', label: '@cname' }
  ]
})

Mock.mock('/mock/branchinfoManager/selectDistinctYYB', 'post', () => {
  return {
    result_code: 0,
    data: {
      rows: db.yybList,
      total: db.yybList.length
    }
  }
})